package com.mustafaiev.tair.cts.tapestry.services;

import java.util.ArrayList;
import java.util.List;

import org.dozer.DozerBeanMapper;
import org.dozer.Mapper;

public class DozerMapper {

    private final DozerBeanMapper mapper;

    public DozerMapper() {
        mapper = new DozerBeanMapper();
        final List<String> mappingFileUrls = new ArrayList<String>();
        mappingFileUrls.add("dozer-mapping.xml");
        mapper.setMappingFiles(mappingFileUrls);
    }

    public Mapper getMapper() {
        return mapper;
    }

}
